package com.bmadmin.domain;

import java.io.Serializable;
import java.util.List;

/**
 * Created by 金玮良 on 2017-12-01.
 *
 */
public class SysDepartmentsPOJO implements Serializable{
    private String d_id;
    private String d_part_id;
    private String d_name;
    private List<SysDepartmentsPOJO> children;


    public SysDepartmentsPOJO() {
    }

    public SysDepartmentsPOJO(String d_id, String d_part_id, String d_name) {
        this.d_id = d_id;
        this.d_part_id = d_part_id;
        this.d_name = d_name;
    }

    @Override
    public String toString() {
        return "SysDepartmentsPOJO{" +
                "d_id='" + d_id + '\'' +
                ", d_part_id='" + d_part_id + '\'' +
                ", d_name='" + d_name + '\'' +
                ", children=" + children +
                '}';
    }

    public List<SysDepartmentsPOJO> getChildren() {
        return children;
    }

    public void setChildren(List<SysDepartmentsPOJO> children) {
        this.children = children;
    }

    public String getD_id() {
        return d_id;
    }

    public void setD_id(String d_id) {
        this.d_id = d_id;
    }

    public String getD_part_id() {
        return d_part_id;
    }

    public void setD_part_id(String d_part_id) {
        this.d_part_id = d_part_id;
    }

    public String getD_name() {
        return d_name;
    }

    public void setD_name(String d_name) {
        this.d_name = d_name;
    }
}
